package day050626;

public class Test10 {
    public static void main(String[] args) {

        int[] a={5,9,7,6,3,4};
        int rs=0;
        for (int i = 0; i < a.length; i++) {
            rs= rs + a[i];
        }
        System.out.println(rs);
    }
}
